<script setup>
import { reactive } from 'vue'
import { RouterView } from 'vue-router'
import {RouterLink} from "vue-router";
import a1 from './article/a1.vue'
import a2 from './article/a2.vue'


</script>

<template>
<router-link to="/article/a1">点击进入第一篇文章</router-link>
<!--  分割线-->
  <n-divider />
<router-link to="/article/a2">点击进入第二篇文章</router-link>
  <n-divider />

  <RouterView />
</template>



<style scoped>
.list-demo-action-layout .image-area {
  width: 183px;
  height: 119px;
  border-radius: 2px;
  overflow: hidden;
}

.list-demo-action-layout .list-demo-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-fill-3);
}

.list-demo-action-layout .image-area img {
  width: 100%;
}

.list-demo-action-layout .arco-list-item-action .arco-icon {
  margin: 0 4px;
}
</style>
